from info import redis_store
from . import index_bul
from flask import render_template,current_app


@index_bul.route("/")
def index():
    from flask import session
    # session["aj"] = "di"
    # print(redis_store.get("di"))

    return render_template("news/index.html")

#
# @index_bul.route("/news")
# def news():
#     return render_template("news/index.html")


@index_bul.route("/favicon.ico")
def favicon():
    return current_app.send_static_file("news/favicon.ico")
